------------------------------------------------------------------------------------------------------
--Native
------------------------------------------------------------------------------------------------------
local function OnEvent()
	if (event == "PLAYER_LOGIN") then
		ShortKey.Init()
	end
end

local function DoSetting(msg)
	ShortKey.DoSetting(msg)
end

local frame = CreateFrame("Frame", "ShortKeyFrame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", OnEvent)
SLASH_SHORTKEY1 = "/shortkey"
SLASH_SHORTKEY2 = "/sk"
SlashCmdList["SHORTKEY"] = DoSetting